﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EzDesk.Apps.Model.Staff;
using EzDesk.Apps.ServiceImpl.Repositories.Mock;
using EzDesk.Apps.ServiceImpl.Staff.Repositories.Interface;
using EzDesk.EzAppApi.Utility;

namespace EzDesk.Apps.UnitTest.Mock
{
    public class Mock_ContactInfoRepository : Mock_Repository<ContactInfo>, IContactInfoRepository
    {
        public Mock_ContactInfoRepository()
        {
            initialize();
        }

        protected override sealed void initialize()
        {
            base.initialize();
            
            var data = new List<ContactInfo>{
                new ContactInfo(){UserId = Mock_EzApiClient.GetMockUserId("杨裕欣"), Id = new Guid(), MainEmail = "yayx@21cn.com", MobileNo = "18602109196", QqNumber = "47368554"},
            };
            innerStorage.SetInnerStorage(data);
        }
    }
}
